package wyjx.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @描述
 * @创建人 wangyue
 * @创建时间2020/5/2711:36
 */
@FeignClient(value = "EUREKA-PROVIDE",fallback = HystrixServiceImpl.class)
public interface HystrixService {

    @RequestMapping("/hi")
    public String home(String name);
}
